package com.member.shop.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.member.shop.domain.SysBizMaterialCategory;

/**
 * 素材分类Service接口
 *
 * @author lixinchen
 * @date 2024-05-08
 */
public interface ISysBizMaterialCategoryService extends IService<SysBizMaterialCategory>
{
    /**
     * 查询素材分类
     *
     * @param id 素材分类主键
     * @return 素材分类
     */
    public SysBizMaterialCategory selectSysBizMaterialCategoryById(Long id);

    /**
     * 查询素材分类列表
     *
     * @param sysBizMaterialCategory 素材分类
     * @return 素材分类集合
     */
    public List<SysBizMaterialCategory> selectSysBizMaterialCategoryList(LambdaQueryWrapper<SysBizMaterialCategory> queryWrapper);

    /**
     * 新增素材分类
     *
     * @param sysBizMaterialCategory 素材分类
     * @return 结果
     */
    public int insertSysBizMaterialCategory(SysBizMaterialCategory sysBizMaterialCategory);

    /**
     * 修改素材分类
     *
     * @param sysBizMaterialCategory 素材分类
     * @return 结果
     */
    public int updateSysBizMaterialCategory(SysBizMaterialCategory sysBizMaterialCategory);

    /**
     * 批量删除素材分类
     *
     * @param ids 需要删除的素材分类主键集合
     * @return 结果
     */
    public int deleteSysBizMaterialCategoryByIds(Long[] ids);

    /**
     * 删除素材分类信息
     *
     * @param id 素材分类主键
     * @return 结果
     */
    public int deleteSysBizMaterialCategoryById(Long id);
}